import React from 'react';
import ReactDOM from 'react-dom'
import {createStore} from 'redux'
import App from './App'
import {counter} from "./index.redux";
import registerServiceWorker from './registerServiceWorker';

const store = createStore(counter)

function render() {
  ReactDOM.render(<App store={store}/>, document.getElementById('root'));
}
render()
registerServiceWorker();
